import Vue from 'vue'
import {
    Button,
    Input,
    Menu,
    MenuItem,
    Submenu,
    Breadcrumb,
    BreadcrumbItem,
    Icon,
    Carousel,
    CarouselItem,
    Card,
    DatePicker,
    Loading,
    Message,
    Select,
    Option,
    Tabs,
    TabPane,
    Table,
    TableColumn,
    Pagination,
    MessageBox,
    Checkbox,
    Dialog,
    Dropdown,
    DropdownItem,
    DropdownMenu,
    Upload,
    Image
} from 'element-ui'
Vue.use(Loading.directive);
Vue.use(Button)
Vue.use(Input)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(Submenu)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Icon)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Card)
Vue.use(DatePicker)
Vue.use(Select)
Vue.use(Option)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Checkbox)
Vue.use(Dialog)
Vue.use(Dropdown)
Vue.use(DropdownItem)
Vue.use(DropdownMenu)
Vue.use(Upload)
Vue.use(Pagination)
Vue.use(Image)

Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm;
// Vue.prototype.$loading = Loading.service